<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>${applicationName}</title>
    <link rel="stylesheet" href="${context}/external/layui/css/layui.css">
    <script>
        var contextPath = "${context}";
    </script>
</head>

<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">后台管理</div>
        <ul class="layui-nav layui-layout-left">

        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:void(0);">
                    ${userName}
                </a>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:void(0)" onclick="javascript:logout();">退出</a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:UserManager();">用户管理</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:systemConfig();">系统配置</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:DataConfig();">数据维护</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:MenuConfig();">菜单维护</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:RoleConfig();">角色维护</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:PrivilegeConfig();">权限维护</a>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <iframe  name="info" id="info" width="100%" height="100%"></iframe>
    </div>
</div>
</body>
<script src="${context}/external/jquery-1.12.4.min.js"></script>
<script src="${context}/external/layui/layui.all.js"></script>
<script src="${context}/common/public.js"></script>
<script src="${context}/manager/js/index.js"></script>
</html>